@import "./login";
@import "./header";
@import "./footer";

body{
    background: #f2f2f2;
}
main{
    width: 100%;
    .w{
        width: 1150px;
        margin: 0 auto;
        .go-home{
            font-size: 16px;
            position: relative;
            padding-top: 24px;
            padding-bottom: 20px;
            ul li a{
                color: #333;
            }
        }
        .head{
            line-height: 1.15;
            margin-top: 20px;
            height: 42px;
            .label{
                width: 200px;
                border-bottom: 4px solid #cdcdcd;
                float: left;
                position: relative;
                text-align: center;
                line-height: 42px;
                color: #ccc;
                font-size: 16px;
                .span{
                    position: absolute;
                    left: 30px;
                    top: 11px;
                    background-image: url(/img/spirit-3.png);
                    background-position: -248px -120px;
                    width: 20px;
                    height: 20px;
                }
            }
            .active{
                color: #f35356;
                border-bottom: 4px solid #f35356;
                .span{
                    background-image: url(/img/spirit-3.png);
                    background-position: -226px -120px;
                }
            }
            // .other2{

            // }
        }
        .section{
            .appear{
                display: none;
            }
            .no-goods{
                overflow: hidden;
                margin-top: 190px;
                margin-bottom: 190px;
                .no-goods-box{
                    overflow: hidden;
                    display: inline-block;
                    position: relative;
                    left: 50%;
                    margin-left: -136px;
                    .shop-icon{
                        float: left;
                        width: 89px;
                        height: 95px;
                        background: url(/img/car.png) no-repeat;
                    }
                    .message {
                        float: left;
                        font-size: 14px;
                        color: #666;
                        padding-left: 24px;
                        padding-top: 28px;
                        p{
                            font-size: 16px;
                        }
                        a{
                            display: inline-block;
                            margin-top: 10px;
                            color: #f35356;
                        }
                    }
                }
            }
            .top-bar{
                background: #f9f9f9;
                height: 54px;
                margin-top: 24px;
                ul li{
                    height: 54px;
                    line-height: 54px;
                    font-size: 15px;
                    color: #666;
                    float: left;
                    text-align: left;
                    &.bar-01{
                        width: 15%;
                        text-align: center;
                    }
                    &.bar-02{
                        width: 30%;
                    }
                    &.bar-03{
                        width: 15%;
                    }
                    &.bar-04{
                        width: 15%;
                    }
                    &.bar-05{
                        width: 15%;
                    }
                    &.bar-06{
                        width: 10%;
                    }
                }
            }
            .good-list{
                background: #fff;
                min-height: 180px;
                ul{
                    min-height: 180px;
                    li{ 
                        text-align: center;
                        height: 134px;
                        float: left;
                        img{
                            width: 100%;
                            height: 100%;
                        }
                    }
                    .g-img{
                        height: 110px;
                        width: 104px;
                        margin-left: 11px;
                        margin-right: 0;
                        margin-top: 15px;
                        cursor: pointer;
                    }
                    .one{
                        width: 124px + 13px;
                        input{
                            margin-top: 55px;
                        }
                    }
                    .li-p{
                        width: 210px;
                        margin-left: 15px;
                        text-align: left;
                        a{
                            display: block;
                            color: #000;
                            margin-top: 40px;
                            margin-bottom: 10px;
                            text-decoration: none;
                        }
                    }
                    .one-p{
                        width: 138px;
                        span{
                            display: inline-block;
                            margin-top: 50px;
                        }
                    }
                    .num{
                        width: 124px;
                        margin-left: 33px;
                        span{
                            margin-top: 45px;
                            float: left;
                            width: 38px;
                            height: 38px;
                            text-align: center;
                            line-height: 38px;
                            border: 1px solid #999;
                            cursor: pointer;
                            font-size: 14px;
                        }
                        input{
                            margin-top: 45px;
                            float: left;
                            width: 48px;
                            height: 38px;
                            outline: none;
                            border: none;
                            text-align: center;
                            border-top: 1px solid #999;
                            border-bottom: 1px solid #999;
                        }
                    }
                    .sum{
                        margin-left: 32px;
                        width: 150px;
                        line-height: 134px;
                        color: red;
                        font-size: 16px;
                        span{
                            margin-top: 50px;
                        }
                    }
                    .x{
                        margin-left: 72px;
                        width: 50px;
                        line-height: 134px;
                        font-size: 18px;
                        color: #ccc;
                        cursor: pointer;
                    }
                }
            }
            .balance{
                height: 172px;
                background: #f9f9f9;
                position: relative;
                .goods-detail{
                    color: #666;
                    font-size: 16px;
                    position: absolute;
                    top: 50px;
                    right: 22px;
                    line-height: 1px;
                    .goods-num{
                        display: none;
                        float: left;
                        span{
                            color: #f35356;
                        }
                    }
                    .money{
                        float: left;
                        margin-left: 36px;
                        span{
                            margin-left: 29px;
                            font-size: 22px;
                            color: #f35356;
                            vertical-align: middle;
                        }
                    }
                }
                .options{
                    position: absolute;
                    right: 22px;
                    bottom: 24px;
                    a{
                        font-size: 16px;
                        color: #f35356;
                        cursor: pointer;
                    }
                    .go-pay {
                        background: #f35356;
                        outline: none;
                        border: none;
                        width: 170px;
                        height: 58px;
                        color: #fff;
                        cursor: pointer;
                        margin-left: 23px;
                        font-size: 20px;
                        border-radius: 5px;
                    }
                }
            }
        }
    }
}
